<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib uri="/ms-tags" prefix="ms"%>
<%@page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<c:import url="/public/include/msDocType.html" />
<html>
<head>
<c:import url="/common/base-hplus.jsp" /> 
<script type="text/javascript" src="/js/system/user/t-mgt-user-form.js?v=${version }"></script>
</head>
<body class="gray-bg">
	
	 <div class="wrapper wrapper-content animated fadeInRight">	
	 	
				 <div class="row">
				 
            <div class="col-sm-12">
                  
                <div class="ibox float-e-margins">
                    <div class="ibox-content">
                        <form id="TMgtUserForm" name="TMgtUserForm" method="post" action="" class="form-horizontal">
							<input type="hidden" name="id" id="id" value="${entity.id}" />
                            <div class="form-group">
                                <label class="col-sm-2 control-label">用户ID</label>
                                <div class="col-sm-4">
                                    <c:choose>
										<c:when test="${entity.userId == null || entity.userId == ''}">
											<ms:input name="userId" value="${entity.userId}" cssClass="form-control"/>
										</c:when>
										<c:otherwise>
											<ms:input name="userId" value="${entity.userId}" cssClass="form-control" readOlny="true"/>
										</c:otherwise>
									</c:choose>
                                </div>
                                <label class="col-sm-2 control-label">用户名称</label>
                                <div class="col-sm-4">
                                    <ms:input name="userName" value="${entity.userName}" cssClass="form-control" />
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">手机号</label>
                                <div class="col-sm-4">
                                    <ms:input name="userPhone" value="${entity.userPhone}" cssClass="form-control" />
                                </div>
                                <label class="col-sm-2 control-label">email</label>
                                <div class="col-sm-4">
                                    <ms:input name="userEmail" value="${entity.userEmail}" cssClass="form-control" />
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            
                            <div class="input-group">
								<span class="input-group-btn">
									<button id="btnListQuery" type="button" onclick="saveInfo()" class="btn btn-sm btn-primary">保存</button>	
								</span>
							</div>
                        </form>
                    </div>
                </div>
            </div>
		</div>	
	</div>			
	
	<c:import url="/common/chosen-select.jsp" />
	<script>
        $(document).ready(function () {
            $('.i-checks').iCheck({
                checkboxClass: 'icheckbox_square-green',
                radioClass: 'iradio_square-green',
            });
        });
    </script>
</body>
</html>

